Skip to content

Add cflinuxfs5 stack support for next buildpack release#888

Open
tnikolova82 wants to merge 5 commits intomasterfrom
cflinuxfs5-release-prep
Open

Add cflinuxfs5 stack support for next buildpack release#888
tnikolova82 wants to merge 5 commits intomasterfrom
cflinuxfs5-release-prep

Conversation

@tnikolova82
Copy link
Contributor

Summary

Changes

manifest.yml

New cflinuxfs5 dependencies:

  • node 20.20.0 for cflinuxfs5
  • node 22.22.0 for cflinuxfs5
  • python 3.12.9 for cflinuxfs4 and cflinuxfs5
  • python 3.13.9 for cflinuxfs4 and cflinuxfs5
  • python 3.14.3 for cflinuxfs4 and cflinuxfs5
  • yarn 1.22.22 updated from cflinuxfs3 → cflinuxfs5

Dependency hash updates (cflinuxfs4 rebuilds):

Deprecation dates added:

  • Python 3.12.x (2028-10-02)
  • Python 3.13.x (2029-10-07)
  • Python 3.14.x (2030-10-07)

Default python version changed: 3.11.x → 3.13.x

  • Python 3.11 has not been built for cflinuxfs5 yet, so 3.13.x is used as the default to ensure cflinuxfs5 apps have a Python runtime available (needed for node-gyp native module compilation)

src/nodejs/integration/init_test.go

  • Updated default test stack from cflinuxfs3 to cflinuxfs4

Known gaps (to be addressed when dependencies are built)

  • node 24.13.0 cflinuxfs5 — not yet built by the dependency pipeline
  • python 3.11.14 cflinuxfs5 — not yet built by the dependency pipeline

These will be added automatically by the releng bot when the cflinuxfs5 builds complete.

Supersedes PRs

Once this PR is merged, the following PRs can be closed:

tnikolova82 and others added 5 commits March 11, 2026 10:54
Consolidate open dependency PRs (#879-#884, #887) to add cflinuxfs5
stack support for the next buildpack release:

- Add node 20.20.0 and 22.22.0 for cflinuxfs5 stack
- Update node 20.20.0, 22.22.0, 24.13.0 cflinuxfs4 hashes
- Fix node 22.22.0 source URL to point to correct version
- Add python 3.12.9, 3.13.9, 3.14.3 for cflinuxfs4 and cflinuxfs5
- Add deprecation dates for python 3.12.x, 3.13.x, 3.14.x
- Update yarn 1.22.22 to replace cflinuxfs3 with cflinuxfs5
- Change default python from 3.11.x to 3.13.x (3.11 not yet built
  for cflinuxfs5)
- Update integration test default stack from cflinuxfs3 to cflinuxfs4

Known gaps (to be addressed when dependencies are built):
- node 24.13.0 cflinuxfs5 (not yet available)
- python 3.11.14 cflinuxfs5 (not yet available)
…lure

- Switch integration test stack from cflinuxfs4 to cflinuxfs5
- Add cflinuxfs5 to install_go.sh stack validation, hardcode cflinuxfs4
  Go download URL (Go toolchain is cross-stack compatible)
- Add cflinuxfs5 to override buildpack fixture cf_stacks
- Fix npm ^8 test: remove cpu-features native module from test copy
  because npm 8 bundles node-gyp v9.1.0 which requires distutils
  (removed in Python 3.12+)
The previous fix removed cpu-features from package.json dependencies but
server.js still had 'require("cpu-features")' at line 4, causing the
app to crash at startup with 'Cannot find module' and never serve
requests. Remove the require line from the copied server.js fixture.
Copy link
Contributor

@ivanovac ivanovac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants